package com.fivestyle.service;

import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

@Component
public interface OssService {
    String UploadAvatarfile(MultipartFile file) throws IOException;

    /**
     * 上传轮播图
     * @param file
     * @return
     * @throws IOException
     */
    String bannerImage(MultipartFile file) throws  IOException;

    String bookImage(MultipartFile file) throws IOException;
}
